package com.bfsuolframework.security.service.impl;

import com.bfsuolframework.core.dao.DAO;
import com.bfsuolframework.core.service.ServiceSupport;
import com.bfsuolframework.security.dao.PrivilegeDAO;
import com.bfsuolframework.security.entity.Privilege;
import com.bfsuolframework.security.service._PrivilegeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by andy on 2020/10/19.
 */
@Service
public class _PrivilegeServiceImpl extends ServiceSupport<Privilege> implements _PrivilegeService {

    @Autowired
    private PrivilegeDAO privilegeDAO;

    @Override
    public DAO<Privilege> getDao() {
        return this.privilegeDAO;
    }
}
